using Core.Workflows;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Core.Dtos
{
    [Serializable]
    [DataContract]
    public partial class PolicyDto : BaseDto<int>
    {
        public PolicyDto()
        {
        }

        [DataMember]
        public override int Id { get; set; }
        [DataMember]
        public long Number { get; set; }
        [DataMember]
        public int PersonID { get; set; }
        [DataMember]
        public int StateID { get; set; }
        [DataMember]
        public string UserID { get; set; }
        [DataMember]
        public System.DateTime DateCreated { get; set; }

        //Extra
        [DataMember]
        public string PersonName { get; set; }
        [DataMember]
        public string UserUserName { get; set; }
        [DataMember]
        public IEnumerable<string> ApprovalActions { get; set; }

        // Navigation properties		
        [DataMember]
        public PersonDto Person { get; set; }

        [DataMember]
        public List<PolicyWFLogDto> WFLogs { get; set; }

    }
}


